﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;

namespace COC.Graphics
{
	class UIComponent : IRenderComponent
	{
		#region .Ctor
		static UIComponent _SingletonInstance = null;
		UIComponent()
		{
		}

		public static UIComponent Singleton
		{
			get
			{
				if (_SingletonInstance == null)
				{
					_SingletonInstance = new UIComponent();
				}
				return _SingletonInstance;
			}
		}
		#endregion

		Texture2D m_BarMask;
		Texture2D m_EnemyBallon;		

		public override void Initialize()
		{
			ContentManager content = CoCGame.Singleton.Content;
			m_EnemyBallon = content.Load<Texture2D>("Textures/EnemyBallon");
			m_BarMask = content.Load<Texture2D>("Textures/BarMask");
		}

		public override void Render()
		{

		}

		public override void Dispose()
		{

		}
	}
}